]> dgit.raspbian.org Git - gnome-shell.git/commit
timeLimitsManager: Batch-submit usage records to malcontent-timerd
authorPhilip Withnall <pwithnall@gnome.org>
Tue, 11 Nov 2025 15:31:22 +0000 (15:31 +0000)
committerMarge Bot <marge-bot@gnome.org>
Wed, 12 Nov 2025 16:59:40 +0000 (16:59 +0000)
commit2d04defeac2ebd5e810dd25f2b0e5cb497a0f1b2
tree4f8bf5f9c7047a57157ee102fca7da79f4416c69
parent811364ae59340195aa1c9c3edcc0d784d39105c2
timeLimitsManager: Batch-submit usage records to malcontent-timerd

This was skipped in the first version of parental controls screen time
limits, because we forgot that `RecordUsage()` already allows batch
submission of usage records.

Rework the code to make one D-Bus call rather than O(N) calls.

Signed-off-by: Philip Withnall <pwithnall@gnome.org>
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3958>
js/misc/timeLimitsManager.js